package com.springboot.cloud.authentication.service;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>  </p>
 *
 * @author Bertram
 * @since 11/5/2019 2:38 PM
 */
public interface AuthenticationService {

    /**
     * 校验权限
     *
     * @param authRequest
     * @return 是否有权限
     */
    boolean decide(HttpServletRequest authRequest);
}
